<ul class="list">
	[#list contentPage.list as content]
			<li>
				<a href="/content/detail/${content.id!}">
					<!-- <img style="width: 200px;height: 134px;" alt="" src="${content.titleImg!}"/> -->
				</a> 
				<div style="width:800px;">
					<a href="/content/detail/${content.id!}"><h3 class="egt bold 444">${content.title!}</h3></a>
					<small>
						<a href="/content/detail/${content.id!}"><small style="display: inline;">[@content_cut content = ((content.content?replace("<.*?>","","r"))?replace("&nbsp;","")!)?html len =  100 /]</small></a>
							<a href="/content/detail/${content.id!}">[阅读全文]</a>
						</small>
						<small class="time">
							浏览：${content.hit!}&nbsp;&nbsp;&nbsp;发布时间：${(content.createtime?string("yyyy-MM-dd HH:mm"))!}
						</small>
					</div>
				</li>
		[/#list]
</ul>
<script type="text/javascript">
		channelId='${so_channelId!}';
		
		$(function() {
			//显示分页
			laypage({
				cont : 'page',
				pages : '${contentPage.totalPage!}',
				first : '1',
				curr:'${contentPage.pageNo!}',
				last : '${contentPage.totalPage!}',
				jump: function(obj, first){
					  if(!first){
						  	if(channelId==''){
						  		layer.alert("数据出错");
						  		return false;
						  	}
						  	initIndexPage(obj.curr,channelId);
					   }
					}
			});
		})
		
</script>